package org.dtrd.modules.evaluation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.evaluation.entity.bean.AdknowlDetail;
import org.dtrd.modules.evaluation.entity.bean.AdknowlListInfo;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdAdknowl;
import org.dtrd.modules.evaluation.entity.request.AdknowlListRequest;

import java.util.List;

/**
 * <p>
 * 患者知识量表（ADKnowl）服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-15
 */
public interface IDtrdEntEvaluationRdAdknowlService extends IService<DtrdEntEvaluationRdAdknowl> {

    List<AdknowlListInfo> getAdknowlList(AdknowlListRequest request);

    AdknowlDetail getAdknowlLatest(Integer patientId);

    AdknowlDetail saveOrUpdateAdknowl(AdknowlDetail dto);

    boolean removeAdknowl(Integer dataId);
}
